package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoOrderUserInfoRestore entity provides the base persistence
 * definition of the WhoOrderUserInfoRestore entity. @author MyEclipse
 * Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoOrderUserInfoRestore implements
		java.io.Serializable {

	// Fields

	private Integer orderId;
	private String consignee;
	private Integer country;
	private String countryName;
	private Integer province;
	private String provinceName;
	private Integer city;
	private String cityName;
	private Integer district;
	private String districtName;
	private String address;
	private String post;
	private String tel;
	private String stateAddress;
	private String cityAddress;
	private String email;
	private String postscript;
	private String mobile;

	// Constructors

	/** default constructor */
	public AbstractWhoOrderUserInfoRestore() {
	}

	/** full constructor */
	public AbstractWhoOrderUserInfoRestore(String consignee, Integer country,
			String countryName, Integer province, String provinceName,
			Integer city, String cityName, Integer district,
			String districtName, String address, String post, String tel,
			String stateAddress, String cityAddress, String email,
			String postscript, String mobile) {
		this.consignee = consignee;
		this.country = country;
		this.countryName = countryName;
		this.province = province;
		this.provinceName = provinceName;
		this.city = city;
		this.cityName = cityName;
		this.district = district;
		this.districtName = districtName;
		this.address = address;
		this.post = post;
		this.tel = tel;
		this.stateAddress = stateAddress;
		this.cityAddress = cityAddress;
		this.email = email;
		this.postscript = postscript;
		this.mobile = mobile;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "order_id", unique = true, nullable = false)
	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	@Column(name = "consignee", nullable = false, length = 60)
	public String getConsignee() {
		return this.consignee;
	}

	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}

	@Column(name = "country", nullable = false)
	public Integer getCountry() {
		return this.country;
	}

	public void setCountry(Integer country) {
		this.country = country;
	}

	@Column(name = "country_name", nullable = false, length = 32)
	public String getCountryName() {
		return this.countryName;
	}

	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}

	@Column(name = "province", nullable = false)
	public Integer getProvince() {
		return this.province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	@Column(name = "province_name", nullable = false, length = 32)
	public String getProvinceName() {
		return this.provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	@Column(name = "city", nullable = false)
	public Integer getCity() {
		return this.city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	@Column(name = "city_name", nullable = false, length = 32)
	public String getCityName() {
		return this.cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	@Column(name = "district", nullable = false)
	public Integer getDistrict() {
		return this.district;
	}

	public void setDistrict(Integer district) {
		this.district = district;
	}

	@Column(name = "district_name", nullable = false, length = 32)
	public String getDistrictName() {
		return this.districtName;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	@Column(name = "address", nullable = false)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "post", nullable = false, length = 60)
	public String getPost() {
		return this.post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	@Column(name = "tel", nullable = false, length = 60)
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "state_address", nullable = false, length = 60)
	public String getStateAddress() {
		return this.stateAddress;
	}

	public void setStateAddress(String stateAddress) {
		this.stateAddress = stateAddress;
	}

	@Column(name = "city_address", nullable = false, length = 60)
	public String getCityAddress() {
		return this.cityAddress;
	}

	public void setCityAddress(String cityAddress) {
		this.cityAddress = cityAddress;
	}

	@Column(name = "email", nullable = false, length = 60)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "postscript", nullable = false)
	public String getPostscript() {
		return this.postscript;
	}

	public void setPostscript(String postscript) {
		this.postscript = postscript;
	}

	@Column(name = "mobile", nullable = false, length = 60)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

}